package com.yz.app.gsmdata.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author yuanzheng
 * @since 2021/01/22
 */
@Slf4j
@RestController
@RequestMapping("/job")
public class HistoryJobController {

    @Resource(name = "historyComponent")
    private HistoryComponent historyComponent;

    @GetMapping("/putData")
    public void stationPassenger(String param) {
        historyComponent.putData();
    }

}
